package sk.marek.barak.shared;

import com.google.gwt.core.client.GWT;

import sk.marek.barak.client.ThoughtService;
import sk.marek.barak.client.ThoughtServiceAsync;

public class ThoughtServiceFactory {
	private static ThoughtServiceAsync thoughtService;
	
	public static ThoughtServiceAsync getThoughtService(){
		if(thoughtService==null)
			thoughtService = GWT.create(ThoughtService.class);
		return thoughtService;
	}


}
